home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
src
/
derror
/
Save
/
ErrorMove.ttx
< prev
next >
Wrap
Text File
|
1995-12-24
|
951b
|
48 lines
/*
** $Id: ErrorMove.ttx,v 30.0 1994/06/10 18:05:15 dice Exp $
**
** DICE Error Parsing system. Script for Oxxi TurboText (tm).
**
** Notes: This assumes that your DCC:Config/DCC.Config file contains the
** following line:
**
** cmd= rx DCC:Rexx/TTX_ErrorParse.rexx %e "%c" "%f" "%0"
*/
PARSE UPPER ARG COMMAND /* Valid commands: Current First Next Prev */
OPTIONS RESULTS
IF ~show('p','DICE_ERROR_PARSER') THEN
DO
'SetStatusBar Error Parsing Not Active'
EXIT 0
END
ADDRESS DICE_ERROR_PARSER COMMAND E
IF rc ~= 0 THEN
DO
'SetStatusBar No More Errors'
exit 0
END
ADDRESS DICE_ERROR_PARSER TTXSAME E.FPATH E.ARGS
IF RC ~= 0 THEN
DO
'SetStatusBar Unable to open' E.FPATH
exit 0
END
Port = RESULT
ADDRESS Value Port
'MoveBookMark' 1000+E.line
IF RC ~= 0 THEN
'Move FOLDS' E.Line E.Col
ELSE
DO
'MoveSOL'
'MoveRight' E.col-1
END
'SetStatusBar' E.STRING